package com.yc.zk.common;

import org.apache.zookeeper.ZooKeeper;

public class Constants {

    /**
     * 标志当前服务是不是zookeeper leader
     */
    public static boolean isLeader = false;

    /**
     * zookeeper当前主机节点名称
     */
    public static String nodeSequence = null;

    /**
     * 当前zookeeper实例
     */
    public static ZooKeeper zooKeeper = null;

    /**
     * zookeeper主机节点-根节点
     */
    public static String zookeeperRegistName = null;

    /**
     * zookeeper IP地址
     */
    public static String zookeeperHost = null;
}
